package com.omesoft.hksnore.util.photo;

import android.content.Context;

import com.omesoft.hksnore.util.constant.CusConstant;

public class MyPhotoSetting {
    // /** 图片在SD卡上的存储路径 */
    public static String PICTURE_SAVE_PATH = "omesoft/" + CusConstant.APP_NAME + "/user/";
    /**
     * 数据库在SD卡上的存储路径
     */
    public static String DB_SAVE_PATH = "/omesoft/" + CusConstant.APP_NAME + "/databases/";
    public static final String PICSAVESIZE = "picSaveSize";

    /***
     * 获取图片存放大小偏好
     *
     * @param context
     * @return
     */
    public static int getPicSaveSize(Context context) {
        return context.getSharedPreferences(CusConstant.APP_NAME, context.MODE_PRIVATE).getInt(PICSAVESIZE, 3);
    }

}
